﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true" CodeBehind="frmCategorias.aspx.cs" Inherits="Box.Cliente.Logistica.Categoria.frmCategorias" %>
<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="FeaturedContent" runat="server">
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="MainContent" runat="server">
    <script language="javascript">
        function nuemroLetra(evt) {
            var charCode = (evt.which) ? evt.which : event.keyCode;
            if ((charCode > 65 && charCode < 91) || (charCode > 97 && charCode < 123)
                || (charCode > 47 && charCode < 58)) {
                return true;
            }
                return false;
            
        }
    </script>
 <div class="col-md-12">     
       <div class="panel panel-primary">
                <div class="panel-heading">
                    <h3>Información de la Categoría</h3>
                </div>
                <div class="panel-body">
                            <td><asp:TextBox placeholder="Codigo"  CssClass="form-control" runat="server" ID="txtCodigo" Visible="False"/></td>

                 <table class="table">
                        <tr>
                       <td ><label>Nombre*</label></td>
                            <td><asp:TextBox placeholder="Nombre" MaxLength="100" onkeypress="return nuemroLetra(event)" CssClass="form-control" runat="server" ID="txtNombre" Width="350" /></td>
                        </tr>
                        <tr>
                            <td><label>Descripción</label></td>
                            <td><asp:TextBox placeholder="Descripción" MaxLength="150"  CssClass="form-control" runat="server" ID="txtDescripcion" Width="500" /></td>
                        </tr>
                    </table>
                </div>
                <div class="panel-footer">
                    <asp:Button runat="server" ID="btnGuardar" Text="Guardar" CssClass="btn btn-success" OnClick="btnGuardar_Click"/>
                   <asp:Button runat="server" ID="btnLimpiar" CssClass="btn bg-info" Text="Limpiar"/>
                </div>
            </div>
       </div>
    </div>
</asp:Content>
